#pragma once
#include <d3dx9.h>
#include "ContentManager.h"
#include "GraphicRender.h"

class Surface
{
private:
	LPDIRECT3DSURFACE9 _surface;
public:
	D3DXVECTOR2 position;
	float speed;
	int dx, dy;
	RECT rect;
	Surface(void);
	~Surface(void);
	void init(ContentManager* content);
	void update(float gameTime);
	void render(GraphicRender* graphic);
};

